/*
 * @Author: your name
 * @Date: 2021-05-08 15:38:16
 * @LastEditTime: 2021-05-08 15:45:39
 * @LastEditors: Please set LastEditors
 * @Description: 测试traits类
 * 
 * @FilePath: /mei/project/MySTL/test/test_traits.cpp
 */
#include "../STL/type_traits.h"
#include "../STL/util.h"
#include "../STL/algobase.h"

#include <algorithm>
#include <vector>

using namespace mystl;
using namespace std;

int main() {
    vector<int> v{4, 3, 5, 9, 2, 8};
    vector<int> v1(v.size());
    auto it_pair = mystl::copy_n(v.begin(), 4, v1.begin());
    cout << *(it_pair.first) << " " << *(it_pair.second) << endl;

    //hasdfsf
    return 0;
}